<?php

use Illuminate\Database\Seeder;

class SiteTableSeeder extends Seeder
{
    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run()
    {
        DB::table('sites')->delete();
        DB::table('sites')->insert([
            [
                'id' => 1,
                'oauth_user_id' => 1,
                'name' => '白俊遥博客',
                'description' => '白俊遥的个人博客',
                'url' => 'https://baijunyao.com',
                'audit' => 1,
                'sort' => 1,
                'created_at' => '2018-11-15 20:35:12',
                'updated_at' => '2018-11-15 20:35:12',
                'deleted_at' => NULL,
            ],
            [
                'id' => 2,
                'oauth_user_id' => 1,
                'name' => '已删除',
                'description' => '用于测试',
                'url' => 'https://deleted.com',
                'audit' => 1,
                'sort' => 1,
                'created_at' => '2019-01-04 16:35:12',
                'updated_at' => '2019-01-04 16:35:12',
                'deleted_at' => '2019-01-04 16:35:12',
            ],
        ]);
    }
}
